package cn.cool.springframework.beans.factory.config;

import cn.cool.springframework.beans.BeansException;
import cn.cool.springframework.beans.factory.BeanFactory;

import java.beans.Beans;

public interface AutowireCapableBeanFactory extends BeanFactory {
    /**
     * 执行 BeanPostProcessor 接口实现类的 postProcessBeforeInitialization 方法
     */
    Object applyBeanPostProcessorsAfterInitialization(Object existingBean, String beanName) throws BeansException;

    /**
     * 执行 BeanPostProcessor 接口实现类的 postProcessAfterInitialization 方法
     */
    Object applyBeanPostProcessorsBeforeInitialization(Object existingBean, String beanName) throws BeansException;


}
